using System;
using System.ServiceModel;
using System.ServiceModel.Activation;

namespace Caramel.ServiceModel
{
	public class ServiceLocatorServiceHostFactory : ServiceHostFactory
	{
		protected override ServiceHost CreateServiceHost(Type serviceType, Uri[] baseAddresses)
		{
			return new ServiceLocatorServiceHost(serviceType, baseAddresses);
		}
	}
}
